import BaseLayerModule from './base/BaseLayerModule'

export class LoginApi extends BaseLayerModule {
    constructor(that) {
        super(that)
    }

    /**
     * 登录接口
     * @param callBack
     */
    handerLogin(user_id, member_name, member_mobile, callBack) {
        let params = {
            "userId": "13",
            "account": "张科",
            "realName": "张科",
            "gender": "",
            "organizeId": "",
            "departmentId": "",
            "organizeName": ""
        };
        // callBack({
        //     code:0,
        //     messages:'test',
        //     data: {
        //         authorization:'test'
        //     }
        // })
        this.thyPostModuleData('user/login', params, callBack);
    }
}
